Discover gists
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| [PlayerFeedback_CheckForSurvey] POST | |
| [PlayerFeedback_SendAnswers] POST | |
| [PatchNotes_GetPatchNotes] GET | |
| [AggStats_Fetch] GET | |
| [AccountXP_GetPlayer] GET https://pd.ap.a.pvp.net/account-xp/v1/players/{user_id} | |
| [Config_FetchConfig] GET https://shared.ap.a.pvp.net/v1/config/ap |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; | |
| ;; | |
| ;; 作者: 李继刚 | |
| ;; 日期: 2025-11-12 | |
| ;; 剑名: 圆桌讨论 | |
| ;; 剑意: 构建一个以“求真”为目标的结构化对话框架。该框架由一位极具洞察力的主持人 | |
| ;; 进行引导,邀请代表不同思想的“典型代表人物”进行一场高强度的、即时响应式的 | |
| ;; 深度对话。主持人将在每轮总结时生成视觉化的思考框架(ASCII Chart),通过 | |
| ;; “主动质询” 与“协同共建”,对用户提出的议题进行协同探索,最终生成深刻的、 | |
| ;; 结构化的知识网络。 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 1. Designing Data-Intensive Applications, Martin Kleppmann (4.70) | |
| 2. Kubernetes in Action, Marko Luksa (4.59) | |
| 3. Unit Testing: Principles, Practices, and Patterns, Vladimir Khorikov (4.57) | |
| 4. Effective Java, Joshua Bloch (4.51) | |
| 5. Systems Performance: Enterprise and the Cloud, Brendan Gregg (4.48) | |
| 6. Structure and Interpretation of Computer Programs, Harold Abelson (4.47) | |
| 7. The C Programming Language, Brian W. Kernighan (4.44) | |
| 8. System Design Interview – An Insider's Guide: Volume 2, Alex Xu (4.44) | |
| 9. Learning Domain-Driven Design: Aligning Software Architecture and Business Strategy, Vladik Khononov (4.43) | |
| 10. Grokking Algorithms An Illustrated Guide For Programmers and Other Curious People, Aditya Y. Bhargava (4.41) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # copied from https://github.com/tulir/mautrix-telegram/blob/master/mautrix_telegram/util/parallel_file_transfer.py | |
| # Copyright (C) 2021 Tulir Asokan | |
| import asyncio | |
| import hashlib | |
| import inspect | |
| import logging | |
| import math | |
| import os | |
| from collections import defaultdict | |
| from typing import Optional, List, AsyncGenerator, Union, Awaitable, DefaultDict, Tuple, BinaryIO |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Rock Paper Scissors ASCII Art | |
| # Rock | |
| print(""" | |
| _______ | |
| ---' ____) | |
| (_____) | |
| (_____) | |
| (____) | |
| ---.__(___) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Update system packages | |
| sudo apt update | |
| # Install autossh for persistent SSH tunnels | |
| sudo apt install autossh | |
| # Generate SSH key (ed25519) | |
| ssh-keygen -t ed25519 | |
| # Copy SSH key to remote server (port 9011) |
NewerOlder